package org.dromara.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.system.domain.DeviceAlarm;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 设备报警视图对象 device_alarm
 *
 * @author Lion Li
 * @date 2024-10-21
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = DeviceAlarm.class)
public class DeviceAlarmVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 设备ID
     */
    @ExcelProperty(value = "设备ID")
    private Long id;

    /**
     * 设备ID
     */
    @ExcelProperty(value = "设备ID")
    private Long deviceId;
    @ExcelProperty(value = "设备名称")
    private String deviceName;

    private Long variableId;

    private String variableName;

    private Long deviceGroup;

    private String deviceGroupName;

    private Long tunnelId;

    private String tunnelName;

    /**
     * 报警数值
     */
    @ExcelProperty(value = "报警数值")
    private BigDecimal alarmValue;

    /**
     * 报警内容
     */
    @ExcelProperty(value = "报警内容")
    private String content;


    /**
     * 报警级别
     */
    @ExcelProperty(value = "报警级别")
    private Long level;

    /**
     * 解决报警时间
     */
    @ExcelProperty(value = "解决报警时间")
    private Date finishTime;

    /**
     * 报警状态
     */
    @ExcelProperty(value = "报警状态")
    private Long status;

    private Date createTime;

    private String transactor;//处理人

    private String remark;//备注


}
